package io.renren.modules.wms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.R;
import io.renren.modules.wms.entity.PictureInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 图片信息表
 *
 * @author lain
 * @email 494576412@qq.com
 * @date 2019-07-04 16:45:20
 */
public interface PictureInfoService extends IService<PictureInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据微博id查询对应图片
     * @param weiboId
     * @return
     */
    List<PictureInfoEntity> queryByWeiboId(Integer weiboId);

    /**
     * 业务保存实体
     * @param pictureInfoEntity
     * @return
     */
    R saveWeiBoPic(PictureInfoEntity pictureInfoEntity);

}

